﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using WinPhoneRatingReminder;

namespace WinPhoneRatingReminderTest
{
    public partial class MainPage : PhoneApplicationPage
    {
        // Constructor
        public MainPage()
        {
            InitializeComponent();

        }

        private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
        {
            /*
            // Set these if you want. These are the defaults...
            RatingReminder.PerDays = 14;
            RatingReminder.PerUseCount = 15;
            RatingReminder.MessageTitle = @"Rate this application?";
            RatingReminder.MessageText = @"If you enjoy using {0}, would you mind taking a moment to rate it? It won't take more than a minute. Thank you for your support.";
            */
            RatingReminder.CheckReminder();
        }
    }
}